Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump Jinja2 requirements to >=3.1.2 #2092

Closed
wants to merge 1 commit into from

Conversation

pgaxatte
Copy link

@pgaxatte pgaxatte commented May 6, 2022

The current requirements of Jinja2 <3.1.0 breaks the template used in locust/template/index.html, specifically on this kind of conditions:

{% if not ((value is none) or (value is boolean)) %}

The boolean test has only been added to Jinja2 starting 3.1.2 (cf commit introducing new test)

This PR should also close #2087

@pgaxatte pgaxatte marked this pull request as ready for review May 6, 2022 06:40
@pgaxatte
Copy link
Author

pgaxatte commented May 6, 2022

Nevermind, it was fixed in the meantime...

@pgaxatte pgaxatte closed this May 6, 2022
@cyberw
Copy link
Collaborator

cyberw commented May 6, 2022

Thx anyway :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

jinja2.exceptions.TemplateAssertionError: no test named 'boolean' when attempting to visit UI
2 participants